package com.kitty.game.fixed.message;

import com.kitty.mina.Modules;
import com.kitty.mina.annotation.ListField;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@MessageMeta(module = Modules.MSG_FIXED_TEAM_CHECK_DATA)
public class FixedTeamCheckData  extends Message {
    private byte action;
    private String  name;
    @ListField(1)
    private List<FixedMember> meberList;


    public byte getAction() {
        return action;
    }

    public void setAction(byte action) {
        this.action = action;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<FixedMember> getMeberList() {
        return meberList;
    }

    public void setMeberList(List<FixedMember> meberList) {
        this.meberList = meberList;
    }

    public static class FixedMember {

        private String gid;

        private String name;

        private Integer icon;

        private byte hasConfirm;

        public String getGid() {
            return gid;
        }

        public void setGid(String gid) {
            this.gid = gid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getIcon() {
            return icon;
        }

        public void setIcon(Integer icon) {
            this.icon = icon;
        }

        public byte getHasConfirm() {
            return hasConfirm;
        }

        public void setHasConfirm(byte hasConfirm) {
            this.hasConfirm = hasConfirm;
        }
    }
}

